import { HTMLElement, parse } from 'node-html-parser';
const html = `
<!-- @widgets dependencies begin -->
<link rel="stylesheet" href="../css/iconfont.css">
<link href="https://cdn.jsdelivr.net/npm/feidao-css/feidao.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="../css/daokes.css">
<!-- @widgets dependencies end -->
<div class="m-auto bg-ed" style="width:1190px; min-height:100%;">
	<div class="bg-22" style="height:50px;">
		<div class="display-ib vertical-a-t bg-1b color-f" style="width:50px;height:50px;">
			logo
		</div>
		<div class="display-ib vertical-a-t text-r color-f" style="width:1130px;height:50px;">
			登录信息
		</div>
	</div>
	<div class="display-ib vertical-a-t bg-0 color-f" style="width:50px; min-height:100%;">
		导航菜单
	</div>
	<div data-feidao-type="zj-reality-picture-001" data-feidao-actions="ec04:ec04" id="zj-reality-picture-001" class="display-ib vertical-a-t bg-f" style="width:1100px; min-height:100%; padding:10px 20px 20px 20px;">
		<h2 class="font16" style="height:50px; line-height:40px; margin:0;">教室实景图</h2>
		<div class="text-r">
			<input data-feidao-actions="click:eu01" type="button" value="新增" class="border-none radius-4 vertical-a-t cursor-p bg-1b color-f" style="height:30px; line-height:30px;"
			/>
		</div>

		<div class="bg-f4 border-t-1 border-l-1 border-b-1" style="margin-top:20px;height:40px;line-height:40px;">
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:160px;">图片序号</span>
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:260px;">图片名称</span>
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:160px;">教室号</span>
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:160px;">房间号</span>
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:160px;">房间名</span>
			<span class="display-ib border-r-1 vertical-a-t text-c" style="width:193px;">操作</span>
		</div>

		<div data-feidao-presentation="P01" class="border-b-1 border-l-1 t_body">
			
		</div>
	</div>
</div>

<!--新增 start-->
<div data-feidao-force-visible=true data-feidao-type="zj-reality-picture-002" data-feidao-actions="ec01:ec01" id="zj-reality-picture-002" class="bg-black-rgba6 pos-f display-n" style="z-index:99; height:100%;width:100%; top:0;left:0;">
	<div class="pos-f bg-f radius-4 overflow-h" style="margin-left:-300px;width:600px;top:10%; left:50%;">
		<div class="bg-1b font14 color-f" style="height:40px;line-height:40px;padding-left:10px;">
			<i data-feidao-actions="click:eu02" class="iconfont icon-close fr text-c cursor-p font16" style="width:40px;height:40px;" title="close"></i>新增实景图
		</div>
		<form id="form_add">
			<div class="color-9" style="line-height:30px; margin:20px 30px 0;">
				<span class="display-ib vertical-a-t text-r" style="width:70px;">教室号：</span>
				<input name="classroom_id" type="text" disabled class="display-ib border-1 radius-4 color-3 vertical-a-t" style="height:30px;line-height:30px;width:230px;"
				/>
			</div>
			<div class="color-9" style="line-height:30px; margin:20px 30px 0;">
				<span class="display-ib vertical-a-t text-r" style="width:70px;">图片序号：</span>
				<input name="fzno" type="text" disabled class="display-ib border-1 radius-4 color-3 vertical-a-t" style="height:30px;line-height:30px;width:230px;"
				/>
			</div>
			<div class="color-9" style="line-height:30px; margin:20px 30px 0;">
				<span class="display-ib vertical-a-t text-r" style="width:70px;">
					<span class="a-color-d2">*</span> 图片名称：</span>
				<input name="comm_picture_name" type="text" placeholder="请输入图片名称" class="display-ib border-1 radius-4 color-3 vertical-a-t" style="height:30px;line-height:30px;width:230px;"
				/>
			</div>
			<div class="color-9" style="line-height:30px; margin:20px 30px 0;">
				<span class="display-ib vertical-a-t text-r" style="width:70px;">
					<span class="a-color-d2">*</span> 实景图：</span>
				<input id="uploader" accept="image/*" type="file" data-feidao-actions="change:ec04" value="浏览" type="button" class="border-none radius-4 vertical-a-t cursor-p bg-1b color-f" style="height:30px; line-height:30px;"
				/>
				<input data-feidao-actions="click:eu05" value="上传" type="button" class="border-none radius-4 vertical-a-t cursor-p bg-1b color-f" style="height:30px; line-height:30px;"
				/>
			</div>
			<div class="bg-f8 ht240 p10" style="width:470px;height:260px;margin:10px 10px 10px 100px;">
				<img alt="上传后可预览图片" data-feidao-id="img" class="display-ib" style="width:auto;height:auto;max-width:100%;max-height:100%;"
					src="" />
			</div>
			<div class="text-c" style=" margin:30px 0 50px;">
				<input data-feidao-actions="click:eu03" type="button" value="保存" class="border-none radius-4 vertical-a-t cursor-p bg-1b color-f m-auto" style="width:100px;height:30px; line-height:30px;"
				/>
			</div>
		</form>
	</div>
	<!--上传遮罩-start-->
	<div data-feidao-id="upload_cover" class="bg-black-rgba6 ht100-per w100-per pos-f pos-t0 pos-l0 display-n" style="z-index:103;">
		<div class="pos-f bg-fff left50-per radius-4 overflow-h" style="margin-left:-200px;width:400px;top:30%;">
			<div class="ht40 l-ht40 bg-f4 pl10 font14 bg-1890ff color-fff ">提示</div>
			<div class="mb35 text-c font14 color-3" style="margin-top:35px;">文件上传中，请稍后...</div>
		</div>
	</div>
	<!--上传遮罩-end-->
</div>
<!--新增 end-->

<!--图片预览 start-->
<div  data-feidao-force-visible=true data-feidao-type="zj-reality-picture-003" id="zj-reality-picture-003" data-feidao-actions="ec01:ec01" class="bg-black-rgba6 pos-f display-n" style="z-index:99; height:100%;width:100%; top:0;left:0;">
	<div class="pos-f bg-black-rgba6  border-1 text-c overflow-h" style="margin-left:-600px;width:1200px;height:676px; line-height:673px;top:10%; left:50%;">
		<img src="" class="vertical-a-m" data-feidao-id="pic" style="max-height:674px;max-width:1198px;">
		<i data-feidao-actions="click:eu04" class="iconfont icon-close pos-a text-c cursor-p color-fff text-shadow" style="width:40px;line-height:40px; font-size: 28px;top:0; right:0;"></i>
		<i  data-feidao-id="btn_l" data-feidao-actions="click:eu02" class="iconfont icon-left pos-a text-c cursor-p color-fff text-shadow" style="height:90px;line-height:90px;width:80px; font-size: 72px; top:45%; left:0;"></i>
		<i  data-feidao-id="btn_r" data-feidao-actions="click:eu03" class="iconfont icon-right pos-a text-c cursor-p color-fff text-shadow" style="height:90px;line-height:90px;width:80px; font-size: 72px; top:45%; right:0;"></i>
	</div>
</div>
<!--图片预览 end-->
`;

export default parse(html);